package com.py.credit.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.apache.ibatis.annotations.Param;

import com.py.framework.core.common.Page;

public interface ReportGetService {
	public List<Map<String,Object>> selectAllReportGet(String reportType, String mainType,String recieveStatus,List<String> columns,String[] additionalColumns,String condition,Page page);
	
	public List<Map<String,Object>> selectReportHistoryForPage(String bgbh,String lqr,
			Page page);
	
	public void updateReportshzt(String bgbh,String id,String lqr,String lqtype, String lqbz,String file);
	
	public List<Map<String,Object>> selectQTReportGetByConditionForPage(String reportType,String mainType,List<String> columns,String[] additionalColumns,String condition,Page page
			);
	
	public List<Map<String,Object>> selectQTReportGetHistoryByConditionForPage(String bgbh,List<String> columns,String[] additionalColumns,String condition,Page page
			);
	
	
	public void  insertPrintHistory(@Param(value = "evalId") String evalId,@Param(value = "score") String score,@Param(value = "userId") String userId);

    public List<Map> selectPrintHistory(@Param(value = "id") String id);
    
    public List<Map<String,String>> selectEnterpriseByPc(@Param(value = "tableName") String tableName,@Param(value = "pcId") String pcId);

    public int updateReportStatus(@Param(value = "table") String table,@Param(value = "reportStatus") String reportStatus,@Param(value = "id") String id);
    
    public int updateReportStatusByBgbh(@Param(value = "table") String table,@Param(value = "reportStatus") String reportStatus,@Param(value = "bgbh") String bgbh);

    public String  selectTemplateUrl(@Param(value = "tablePc") String tablePc,@Param(value = "pcId") String pcId);
    
	public Map<String,String> selectPcDetail(@Param(value = "table") String table,@Param(value = "tybm") String tybm,@Param(value = "pcId") String pcId);

	int reportExport(String bgbh,String id,String pdfForXypjPagePath,String pdfJsPath,String absolutepath,String googlePath,
			HttpServletRequest request,String userId);

	public void updateReportStatusBypcId(String table, String string, String pcId);


}
